package cn.regexp.common.core.web;

/**
 * @author Regexpei
 * @date 2024/7/3 22:20
 * @description
 */
public class CommonCodeMsg extends CodeMsg {

    private CommonCodeMsg(Integer code, String msg) {
        super(code, msg);
    }

    public static final CommonCodeMsg ILLEGAL_OPERATION = new CommonCodeMsg(-1, "非法操作！");
    public static final CommonCodeMsg TOKEN_INVALID = new CommonCodeMsg(-2, "登录超时，请重新登录！");
    public static final CommonCodeMsg LOGIN_IP_CHANGE = new CommonCodeMsg(-3, "登录IP发生改变，请重新登录！");

}
